package fr.epsi.dataaccess.dao;
import java.util.List;
import fr.epsi.dataaccess.model.Car;

public interface CarDao {

	/**
	 * get the car in the database by the id
	 * @param id
	 * @return the car
	 */
	public abstract Car getCar(int id);
	
	/**
	 * delete the car in the database
	 * @param car
	 */
	public abstract void deleteBrand(Car car);
	
	/**
	 * update the car in the database
	 * @param car
	 */
	public abstract void updateBrand(Car car);
	
	/**
	 * insert a car in the database
	 * @param car
	 */
	public abstract void insertBrand(Car car);
	
	/**
	 * get the list of cars in the database
	 * @param id
	 * @return list of cars
	 */
	public abstract List getCars();
}
